package io.renren.modules.jxgk.service;

import io.renren.modules.jxgk.entity.ElectiveCourseEntity;

import java.util.List;
import java.util.Map;

public interface ElectiveCourseService {
    List<ElectiveCourseEntity> queryList(Map<String, Object> map);
    int queryTotal(Map<String, Object> map);
    void deleteBatch(String[] indexs);
    void save(ElectiveCourseEntity cse);
    ElectiveCourseEntity queryObject(String index);
    void update(ElectiveCourseEntity cse);
    String queryUserId(String username);
    void insertUserRole(String userId,String roleId);

    List<String> queryUserRoleId(String s);
}
